export const isMobile = str => typeof +str === 'number' && str.length === 11

export const isUrl = str => /^((https|http|ftp|rtsp|mms)?:\/\/)[^\s]+/.test(str)